package com.bw.service;

import com.bw.entity.vo.InterVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("port-server")
public interface ConfigService {
    @GetMapping("ConfigList")
    List<InterVo> ConfigList(@RequestParam("mohu") String mohu);
    @RequestMapping("batchesdel")//批量删除
    void batchesdel(@RequestParam("ids") String ids);
    @RequestMapping("startbatches")//批量启动
    void startbatches(@RequestParam("ids") String ids);
    @RequestMapping("forbiddenbatches")//批量启动
    void forbiddenbatches(@RequestParam("ids") String ids);
    @RequestMapping("addportconfiguration")//添加接口配置
    InterVo addportconfiguration(InterVo interVo);
}
